package com.qwz.example.factory;

import com.qwz.example.product.abstractproduct.CPUApi;
import com.qwz.example.product.GAMainboard;
import com.qwz.example.product.IntelCPU;
import com.qwz.example.product.abstractproduct.MainBoardApi;
/**
* @Description: 装机组合1：Intel的CPU和技嘉的主板
* @Package com.qwz.example.factory.Schema1
* @author Qiuwuzhi
* @date 2019/12/16 11:10
* @version V1.0
*/
public class Schema1 implements AbstractFactory {
    @Override
    public CPUApi createCPUApi() {
        return new IntelCPU(1156);
    }

    @Override
    public MainBoardApi creatMainBoardApi() {
        return new GAMainboard(1156);
    }
}
